package utils.helpers.logging;

public class ClassInspection {
	public static String getCaller () {
		/*for ( int i=0; i<Thread.currentThread().getStackTrace().length; i++ ) {
			System.out.println( i + "  " + Thread.currentThread().getStackTrace()[i].getClassName() );
		}*/
		int length = Thread.currentThread().getStackTrace().length;
		return ( Thread.currentThread().getStackTrace()[length-2].getClassName() );
	}
}
